#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
ll n, m, k;

ll rnk(ll mid) {
    ll res = 0;
    for (int i = 1; i <= n; i++) res += min(m, mid / i);
    return res;
}

int main() {
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    cin >> n >> m >> k;
    ll l = 0, r = 1e14;
    while (l + 1 != r) {
        ll mid = (l + r) / 2;
        if (rnk(mid) >= k) r = mid;
        else l = mid;
    }
    cout << r << '\n';
    return 0;
}